//
//  LaunchAdView.h
//  DLCashbook
//
//  Created by mac1012 on 2017/6/1.
//  Copyright © 2017年 DianlE. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^TouchBlock)(NSURL *url);
@interface LaunchAdView : UIView
@property (nonatomic) UIWindow *myWindow;
@property (nonatomic) UIView *adView;
@property (nonatomic) UIButton *countBtn;
@property (nonatomic) NSURL *webURL;
@property (nonatomic) NSTimer *countTimer;
@property (nonatomic) NSInteger count;
@property  TouchBlock touchBlock;

+ (void)showLaunch:(NSInteger)showTimer withEnterForeground:(BOOL)isEnterForeground WithBlock:(TouchBlock)block;
@end
